package secret.santa.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.PopupPanel;
import com.google.gwt.user.client.ui.Widget;

public class LoaderPopupPanel
{

	private static LoaderPopupPanelUiBinder uiBinder = GWT
			.create(LoaderPopupPanelUiBinder.class);

	interface LoaderPopupPanelUiBinder extends
			UiBinder<Widget, LoaderPopupPanel> 
	{
	}

	@UiField
	PopupPanel popup;

	public LoaderPopupPanel() 
	{
		uiBinder.createAndBindUi(this);
	}

	public void show()
	{
		popup.center();
	}
	public void hide()
	{
		popup.hide();		
	}

}
